package com.tiamo.traders.entity;

import org.springframework.stereotype.Component;

@Component
public class AboutPerson extends PageModel{
    private int id;
    private String personImg;
    private String person;
    private String name;
    private String profile;
    private String about;

    public AboutPerson(int id, String personImg, String person, String name, String profile, String about) {
        this.id = id;
        this.personImg = personImg;
        this.person = person;
        this.name = name;
        this.profile = profile;
        this.about = about;
    }

    public AboutPerson() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPersonImg() {
        return personImg;
    }

    public void setPersonImg(String personImg) {
        this.personImg = personImg;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getAbout() {
        return about;
    }

    public void setAbout(String about) {
        this.about = about;
    }

    @Override
    public String toString() {
        return "AboutPerson{" +
                "id=" + id +
                ", personImg='" + personImg + '\'' +
                ", person='" + person + '\'' +
                ", name='" + name + '\'' +
                ", profile='" + profile + '\'' +
                ", about='" + about + '\'' +
                '}';
    }
}
